/* リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  background-color: #eae1e1;
  color: #12116d;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  flex-direction: column;
  animation: fadeIn 1.5s ease-out;
}

.thanks-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
  letter-spacing: 0.12em;
  opacity: 0;
  animation: slideDown 1.2s ease-out forwards;
}

.thanks-logosub {
  font-family: "Cormorant Garamond", serif;
  font-size: 12px;
  color: #12116d;
  margin-bottom: 1.2rem;
}

h1 {
  font-size: 1.9rem;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  font-weight: 400;
}

p {
  font-size: 1rem;
  color: #12116d;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.back-btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  border: 1px solid #333;
  color: #12116d;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  border-radius: 50px;
  opacity: 0;
  animation: fadeIn 2s ease 1.5s forwards;
}

.back-btn:hover {
  background-color: #333;
  color: #fff;
}

/* 背景アニメーション */
.bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 30%, #7584ac, #6666f1);
  z-index: -1;
  animation: bgMove 8s ease-in-out infinite alternate;
}

/* ====== Animation Keyframes ====== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bgMove {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}
/* =================================================
  スマホ・タブレット用レスポンシブ (768px以下)
================================================= */
@media screen and (max-width: 768px) {
  /* .thanks-logo {
    font-size: 1.8rem;
  } */

  h1 {
    font-size: 1.5rem;
  }

  p {
    font-size: 0.8rem;
    margin: 0 1rem 2rem 1rem;
  }

  .back-btn {
    padding: 0.7rem 2rem;
    font-size: 0.85rem;
  }
}
